/*
*  Copyright 2019-2020 Zheng Jie
*
*  Licensed under the Apache License, Version 2.0 (the "License");
*  you may not use this file except in compliance with the License.
*  You may obtain a copy of the License at
*
*  http://www.apache.org/licenses/LICENSE-2.0
*
*  Unless required by applicable law or agreed to in writing, software
*  distributed under the License is distributed on an "AS IS" BASIS,
*  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*  See the License for the specific language governing permissions and
*  limitations under the License.
*/
package com.alien.admin.modules.deploy.service.dto;

import lombok.Data;
import java.sql.Timestamp;
import java.io.Serializable;

/**
* @website https://el-admin.vip
* @description /
* @author zhouseyi
* @date 2021-09-22
**/
@Data
public class DeployRecDto implements Serializable {

    private Long id;

    /** 环境 */
    private String env;

    /** 项目id */
    private Integer projectId;

    /** 项目名称 */
    private String projectName;

    /** 部署阶段 */
    private Integer stage;

    /** 源代码分支 */
    private String sourceBranch;

    private String targetBranch;

    /** 构建模板id */
    private Integer buildTplId;

    /** 构建id */
    private Long buildQueueId;

    private String buildParam;


    /** 构建日志 */
    private String buildLog;

    /** 部署参数 */
    private String deployParam;

    /** 部署模板id */
    private Integer deployTplId;

    private Long operatorId;

    private String operatorName;

    private Timestamp deployTime;

    /** 部署状态 */
    private Integer deployStatus;

    /** jenkins实例id */
    private Integer jenkinsInstanceId;

    /** 镜像版本 */
    private String buildImageUrl;

    /** 集群id */
    private Integer k8SInstanceId;

    /** 命名空间 */
    private String nameSpace;

    /** 回滚的副本集名称 */
    private String rollbackReplicaSetName;

    /** 服务部署日志 */
    private String deployLog;

    private Long publishDeployId;

    /** 容器部署yml */
    private String deployYml;
}
